import 'package:dustbin_sort/generated/json/base/json_convert_content.dart';

class UserProfileEntity with JsonConvert<UserProfileEntity> {
	UserProfileUser user;
}

class UserProfileUser with JsonConvert<UserProfileUser> {
	int id;
	String username;
	String password;
	UserProfileUserProfile profile;
	List<UserProfileUserAuthority> authorities;
	bool enabled;
	bool accountNonExpired;
	bool accountNonLocked;
	bool credentialsNonExpired;
}

class UserProfileUserProfile with JsonConvert<UserProfileUserProfile> {
	int id;
	int userId;
	String nickname;
	int sex;
	String motto;
}

class UserProfileUserAuthority with JsonConvert<UserProfileUserAuthority> {
	String authority;
}
